import java.io.Serializable

data class LunBean(
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val id: Int,
        val imageUrl: String,
        val jumpUrl: String,
        val title: String
    )
}
data class ZhiBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val columnList: List<Column>,
        val newsList: List<News>,
        val topList: List<Top>
    ) {
        data class Column(
            val columnId: Int,
            val name: String
        )

        data class News(
            val authorId: Int,
            val authorImgUrl: String,
            val authorName: String,
            val commentNum: Int,
            val cost: Int,
            val infoAdvertisingVo: InfoAdvertisingVo,
            val newsId: Int,
            val releaseTime: Long,
            val thumbnailUrl: String,
            val title: String,
            val whetherAdvertising: Int,
            val geshu: Int=authorImgUrl.split(",").size,
        ) {
            data class InfoAdvertisingVo(
                val adId: Int,
                val adImageUrl: String,
                val adSource: String,
                val adTime: Long,
                val adUrl: String,
                val content: String,

            )

        }

        data class Top(
            val commentNum: Int,
            val newsId: Int,
            val title: String
        )
    }
}
data class DuoBean(
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val authorId: Int,
        val authorImgUrl: String,
        val authorName: String,
        val commentNum: Int,
        val cost: Int,
        val infoAdvertisingVo: InfoAdvertisingVo,
        val newsId: Int,
        val releaseTime: Long,
        val thumbnailUrl: String,
        val title: String,
        val whetherAdvertising: Int
    ) {
        data class InfoAdvertisingVo(
            val adId: Int,
            val adImageUrl: String,
            val adSource: String,
            val adTime: Long,
            val adUrl: String,
            val content: String
        )
    }
}
data class DengBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val headPic: String,
        val nickName: String,
        val sex: Int,
        val token: String,
        val userId: Int
    )
}
data class GoldBalanceBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val balance: Int
    )
}
data class SignStatusBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val signStatus: Int
    )
}
data class SignRecordBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val signDay: Int,
        val signRecord: List<SignRecord>
    ) {
        data class SignRecord(
            val day: Int,
            val gold: Int
        )
    }
}
data class TaskListBean(
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val jumpUrl: String,
        val taskId: Int,
        val taskName: String,
        val taskRewardGold: Int,
        val taskStatus: Int
    )
}
data class ConsumerDetailsBean(
    val message: String,
    val result: List<Result>,
    val status: String

){
    data class Result(
        val content: String,
        val gold: Int,
        val time: Long
    )
}
data class ProductBean(
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val productId: Int,
        val productName: String,
        val productPic: String,
        val productPrice: Int,
        val soldNum: Int
    )
}
data class ProductDetailBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val exchangeEndTime: Long,
        val exchangeRules: String,
        val inventoryNum: Int,
        val productId: Int,
        val productIntroduce: String,
        val productName: String,
        val productPic: String,
        val productPrice: Int,
        val soldNum: Int
    )
}
data class ShopListBean (
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val addressId: Int,
        val consignee: String,
        val defaultFlag: Int,
        val doorplate: String,
        val phone: String,
        val region: String
    ):Serializable
}
